package com.zkingsoft.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zkingsoft.dao.PrizeCountDao;
import com.zkingsoft.model.PrizeCount;
import com.zkingsoft.plugin.pojo.PaginationVO;
import com.zkingsoft.services.PrizeCountService;

@Service("PrizeCountService")
public class PrizeCountServiceImpl implements PrizeCountService{
	
	@Autowired
	PrizeCountDao prizeCountDao;
	
	@Override
	public List<PrizeCount> findInPage(PrizeCount prizeCount, PaginationVO pageVo) {
		return prizeCountDao.selectInPage(prizeCount, pageVo);
	}

	@Override
	public int findTotal(PrizeCount prizeCount) {
		return prizeCountDao.selectTotalRecord(prizeCount);
	}

	@Override
	public List<PrizeCount> findModel(PrizeCount prizeCount) {
		return prizeCountDao.selectModel(prizeCount);
	}
	
}
